domain builder: Implement bzip2 and LZMA loaders
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Aug 2009 21:12:25 +0000 (22:12 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Aug 2009 21:12:25 +0000 (22:12 +0100)
commitd7c9674faa1683c9008c9897ea6d6b1519d9af7f
tree66dd3f206e5f847e6ca7fcc1c5379b595eb63126
parentce2fb297a8165963d47bc7eae5abbbf08399eef0
domain builder: Implement bzip2 and LZMA loaders

Recent upstream kernels can be compressed using either gzip,
bzip2, or LZMA.  However, the PV kernel loader in Xen currently only
understands gzip, and will fail on the other two types.  The attached
patch implements kernel decompression for gzip, bzip2, and LZMA so
that kernels compressed with any of these methods can be launched.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/libxc/Makefile
tools/libxc/xc_dom_bzimageloader.c